package com.ebai.product.management.controller;

import javax.servlet.http.HttpSession;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

import com.ebai.product.management.base.controller.WebController;

@Controller
public class IndexController extends WebController {

    @RequestMapping("/")
    public String root(ModelMap modelMap, HttpSession session) {
        return "redirect:/index";
    }

    @RequestMapping("/index")
    public String index(ModelMap modelMap, HttpSession session) {
        return "redirect:/portal";
    }
}
